<?php
/*
 * This page is to show profile page for child.
 */
$foldmenu = true;










$etests = array(1 => "Serum Progesterone Blood Test",
    2 => "Prolactin Blood Test",
    3 => "Thyroid Hormone Blood Test",
    4 => "Blood Tests for Other Reproductive Hormones",
    5 => "Hysterosalpingogram",
    6 => "Endometrial Biopsy",
    7 => "Laparoscopy",
    8 => "Hysteroscopy",
    9 => "Postcoital Test",
    10 => "Ultrasound",
    11 => "Genetic Consulting");

include '../../include/config.php';

$mtests = mysql_fetch_array(mysql_query("select test_name from baby_tests"));
$mtest_id = mysql_fetch_array(mysql_query("select test_id from baby_tests"));
?>

<?php include '../head.php'; ?>
<title>Folder List</title>
<head>
    <link rel="stylesheet" href="../../include/css/jquery.treeview.css" />	
    <script src="../../include/js/external/jquery.cookie.js" type="text/javascript"></script>
    <script src="../../include/js/jquery.treeview.js" type="text/javascript"></script>
    <link rel="stylesheet" href="../../include/css/prettyPhoto.css" type="text/css" media="screen" charset="utf-8" />
    <script src="../../include/js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" src="../../include/js/demotree.js"></script>
</head>
<body>
    <div id="wrapper">

        <?php include '../header_profile.php'; ?>
        <?php include '../menu_left.php'; ?>
        <?php include 'folder_menu.php'; ?>
     

        <div id="mainContent">  
            <hr>
            <h3>New Formation</h3>
            <?php
            $query = mysql_query("select * from baby_folders where bid = '".$_COOKIE['bid']."' ") or die(mysql_error()) ;
            $i=1;
            while ($row = mysql_fetch_array($query)) { ?>
                <div class="fols" style="border: 1px #000000 solid; width: 150px; height: 150px; 
                  <?php if($i==1){ }elseif($i==2){     echo 'margin-top: -150px; margin-left: 200px;'; }elseif($i==3){     echo 'margin-top: -150px; margin-left: 400px;'; } ?>  " >
                <center><a href="Folder?f=<?=$row['folder']?>&sr=<?=$row['sr']?>" ><img src="../../include/images/folder.png" heiht="70px" width="100px;" style="border:1px forestgreen dashed ;" /></a></center><br/>
                <center><b><?=$row['folder']?><br></b></center>                
            </div>
            <?php 
                if($i<=2){ $i++; }else{ $i=1;}
             } 
            ?> 
            
           



        </div>

    </div><!-- wrapper over    -->
    <script type="text/javascript" charset="utf-8">
        $(document).ready(function(){
            $("area[rel^='prettyPhoto']").prettyPhoto();
    				
            $(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'normal',theme:'light_square',slideshow:3000, autoplay_slideshow: false});
            $(".gallery:gt(0) a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'slow',slideshow:10000, hideflash: true});
    		
            $("#custom_content a[rel^='prettyPhoto']:first").prettyPhoto({
                custom_markup: '<div id="map_canvas" style="width:260px; height:265px"></div>',
                changepicturecallback: function(){ initialize(); }
            });

            $("#custom_content a[rel^='prettyPhoto']:last").prettyPhoto({
                custom_markup: '<div id="bsap_1259344" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6"></div><div id="bsap_1237859" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6" style="height:260px"></div><div id="bsap_1251710" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6"></div>',
                changepicturecallback: function(){ _bsap.exec(); }
            });
        });
    </script>
    <script src="../view/script.js"></script>
    <?php include '../menu_right.php'; ?>
</body>
</html>